package com.czy.seed.mvc.home.entity;
import com.czy.seed.mvc.base.entity.IPrepare;
import javax.persistence.Id;
import javax.persistence.Table;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @Author: liuyun
 * Created by liuyun  9:36 2017/11/23.
 */
@Table(name = "COMMODITY")
public class Commodity implements IPrepare {

    private static final long serialVersionUID = 3247725842266770806L;
    @Id
    private long id;
    private String commodityName;
    private BigDecimal commodityMakPrc;
    private BigDecimal commodityTrcPrc;
    private long evalusteNum;
    private long salesGross;
    private long satisfaction;
    private long stock;
    private String brand;
    private String model;
    private String num;
    private String quality;
    private String manufacturer;
    private long install;
    private String details;
    private String rests;
    private long businessesId;
    private Date creationTime;
    private Date updteTime;
    private String category;
    private String masterMap;
    private long version;
    private String discounts;
    private String unit;
    private String businessesName;

    public static long getSerialVersionUID() { return serialVersionUID; }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getCommodityName() {
        return commodityName;
    }

    public void setCommodityName(String commodityName) {
        this.commodityName = commodityName;
    }

    public BigDecimal getCommodityMakPrc() {
        return commodityMakPrc;
    }

    public void setCommodityMakPrc(BigDecimal commodityMakPrc) {
        this.commodityMakPrc = commodityMakPrc;
    }

    public BigDecimal getCommodityTrcPrc() {
        return commodityTrcPrc;
    }

    public void setCommodityTrcPrc(BigDecimal commodityTrcPrc) {
        this.commodityTrcPrc = commodityTrcPrc;
    }

    public long getEvalusteNum() {
        return evalusteNum;
    }

    public void setEvalusteNum(long evalusteNum) {
        this.evalusteNum = evalusteNum;
    }

    public long getSalesGross() {
        return salesGross;
    }

    public void setSalesGross(long salesGross) {
        this.salesGross = salesGross;
    }

    public long getSatisfaction() {
        return satisfaction;
    }

    public void setSatisfaction(long satisfaction) {
        this.satisfaction = satisfaction;
    }

    public long getStock() {
        return stock;
    }

    public void setStock(long stock) {
        this.stock = stock;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public String getNum() {
        return num;
    }

    public void setNum(String num) {
        this.num = num;
    }

    public String getQuality() {
        return quality;
    }

    public void setQuality(String quality) {
        this.quality = quality;
    }

    public String getManufacturer() {
        return manufacturer;
    }

    public void setManufacturer(String manufacturer) {
        this.manufacturer = manufacturer;
    }

    public long getInstall() {
        return install;
    }

    public void setInstall(long install) {
        this.install = install;
    }

    public String getDetails() {
        return details;
    }

    public void setDetails(String details) {
        this.details = details;
    }

    public String getRests() {
        return rests;
    }

    public void setRests(String rests) {
        this.rests = rests;
    }

    public long getBusinessesId() {
        return businessesId;
    }

    public void setBusinessesId(long businessesId) {
        this.businessesId = businessesId;
    }

    public Date getCreationTime() {
        return creationTime;
    }

    public void setCreationTime(Date creationTime) {
        this.creationTime = creationTime;
    }

    public Date getUpdteTime() {
        return updteTime;
    }

    public void setUpdteTime(Date updteTime) {
        this.updteTime = updteTime;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public long getVersion() {
        return version;
    }

    public void setVersion(long version) {
        this.version = version;
    }

    public String getMasterMap() {
        return masterMap;
    }

    public void setMasterMap(String masterMap) {
        this.masterMap = masterMap;
    }

    public String getDiscounts() {
        return discounts;
    }

    public void setDiscounts(String discounts) {
        this.discounts = discounts;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getBusinessesName() {
        return businessesName;
    }

    public void setBusinessesName(String businessesName) {
        this.businessesName = businessesName;
    }
}
